<section class="content-section-column">
  <lv-datatable #lvTable [lvData]="data">
    <thead>
      <tr>
        <th>Name</th>
        <th>Age</th>
        <th>Address</th>
      </tr>
    </thead>
    <tbody>
      <tr *ngFor="let data of lvTable.renderData">
        <td>{{ data.name }}</td>
        <td>{{ data.age }}</td>
        <td>{{ data.address }}</td>
      </tr>
    </tbody>
  </lv-datatable>

  <h3>自定义无数据显示</h3>
  <lv-datatable #lvNoDataTable [lvData]="[]" [lvNoResult]="{ description: '暂无数据，请先添加' }">
    <thead>
      <tr>
        <th>Name</th>
        <th>Age</th>
        <th>Address</th>
      </tr>
    </thead>
    <tbody>
      <tr *ngFor="let data of lvTable.renderData">
        <td>{{ data.name }}</td>
        <td>{{ data.age }}</td>
        <td>{{ data.address }}</td>
      </tr>
    </tbody>
  </lv-datatable>
</section>
